import HttpRequest from "../request";

//登录
export function login(params) {
  return HttpRequest({
    url: '/user/login',
    method: 'POST',
    params: params
  })
}

//注册
export function register(params) {
  return HttpRequest({
    url: '/user/register',
    method: 'POST',
    params: params
  })
}